<?
Class Nadeb_Xml_Create
{
	private $array;
	
	public function set_array($_array)
	{
		$this->array = $_array;
	}
	
	private function create_xml()
	{
		$result = "";
		foreach($this->array as $key => $array)
		{
			$result .= "<item>";
			foreach($array as $name => $value)
				$result .= "<$name>$value</$name>";
			$result .= "</item>";
		}
		
		return $result;
	}
	
	public function get_xml()
	{
		return $this->create_xml();
	}
	
	
	

}
?>